.sub-ratings {
  a {
    @extend %box-radius-left, %flex-center-nowrap, %page-text;

    padding: 0.7em $block-gap 0.7em 0.4em;
    white-space: nowrap;

    @include transition;

    &.empty {
      opacity: 0.5;
    }

    &::before {
      font-size: 3em;
      opacity: 0.5;
      margin-right: 0.2em;

      @include transition;
    }

    &:hover {
      background: mix($c-bg-box, $c-bg-page, 50%);

      &::before {
        color: $c-link;
        opacity: 0.7;
      }
    }

    &.active {
      @extend %box-shadow;

      background: $c-bg-box;

      &::before {
        color: $c-accent;
        opacity: 0.7;
      }
    }

    > span {
      flex: 1 1 100%;

      @extend %flex-column;

      margin-right: 0.5em;
    }

    rating span,
    .rank {
      font-size: 0.9em;
    }

    i {
      font-size: 0.75em;
      opacity: 0.2;
      color: $c-font-dim;

      @include transition;
    }

    &:hover i {
      color: $c-link;
      opacity: 0.7;
    }

    &.active i {
      display: none;
    }

    .shy {
      font-size: 0.8em;
      opacity: 0.6;
      line-height: 1em;
    }
  }

  hr {
    margin: $block-gap auto;
    width: 80%;
  }

  h3 {
    @extend %roboto;

    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    display: inline-block;
  }

  strong {
    color: $c-font-dim;
    font-weight: bold;
    font-size: 1.2em;
  }

  @include breakpoint($mq-not-medium) {
    a {
      padding: 0.3em;
    }

    a > i,
    h3,
    hr,
    rating .rp,
    rating span {
      display: none;
    }
  }

  @include breakpoint($mq-subnav-top) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9ch, 1fr));

    hr,
    .rank {
      display: none;
    }

    a {
      display: flex;
      justify-content: center;

      &::before {
        opacity: 0.8;
        font-size: 1.5em;
      }

      > span {
        flex: 0 0 auto;
        margin-right: 0;
      }

      strong {
        font-weight: normal;
      }
    }
  }
}
